100
It seems that the control uses the TAB key, is there any way to avoid that
ComboBox1->UseTabKey = false;

99
How do I assign a database to your control, using ADO, ADOR or ADODB objects

ComboBox1->ColumnAutoResize = false;
/*
	Select the Component\Import Component...\Import a Type Library,
	to import the following Type Library:

		Microsoft ActiveX Data Objects 6.1 Library

	TypeLib: msado15.dll

	to define the namespace: Adodb_tlb
*/
//#include "ADODB_TLB.h"
Adodb_tlb::_RecordsetPtr rs = Variant::CreateObject(L"ADOR.Recordset");
	rs->Open(TVariant("Orders"),TVariant("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\Access\\SAMPLE.MDB"),Adodb_tlb::CursorTypeEnum::adOpenStatic,Adodb_tlb::LockTypeEnum::adLockOptimistic,0);
ComboBox1->DataSource = (IDispatch*)rs;

98
How do I change the visual appearance effect for the selected item, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->SelBackColor = 0x1000000;
ComboBox1->SelForeColor = RGB(0,0,0);
ComboBox1->ShowFocusRect = false;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));

97
How do I change the colors for the selected item

ComboBox1->SelBackColor = RGB(0,0,0);
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));

96
How do I get ride of the rectangle arround focused item

ComboBox1->ShowFocusRect = false;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));

95
How can I change the control's font

ComboBox1->Font->Name = L"Tahoma";
ComboBox1->Columns->Add(L"Column");

94
I can't scroll to the end of the data. What can I do

ComboBox1->ScrollBySingleLine = true;
ComboBox1->DrawGridLines = Excomboboxlib_tlb::GridLinesEnum::exRowLines;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_ItemHeight(var_Items->AddItem(TVariant(0)),13);
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
	var_Items1->set_ItemHeight(var_Items1->AddItem(TVariant(1)),26);
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
Excomboboxlib_tlb::IItemsPtr var_Items2 = ComboBox1->Items;
	var_Items2->set_ItemHeight(var_Items2->AddItem(TVariant(2)),36);
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
Excomboboxlib_tlb::IItemsPtr var_Items3 = ComboBox1->Items;
	var_Items3->set_ItemHeight(var_Items3->AddItem(TVariant(3)),48);
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());

93
How do I specify the column where the tree lines / hierarchy are shown

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->TreeColumnIndex = 1;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 2.1"))),TVariant(1),TVariant("Child 2.2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2.1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("Root 2.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Child 1.1"))),TVariant(1),TVariant("Child 1.2"));

92
How do I specify the indentation of the child items relative to their parents

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->Indent = 11;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

91
How can I programmatically change the column where incremental searching is performed

ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("SubItem 1"));
ComboBox1->SearchColumnIndex = 1;

90
How do I disable the full-row selection in the control

ComboBox1->FullRowSelect = false;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("One"));
ComboBox1->Items->AddItem(TVariant("Two"));

89
Is there any option to specify the height of the items, before adding them

ComboBox1->DefaultItemHeight = 32;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("One"));
ComboBox1->Items->AddItem(TVariant("Two"));

88
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

ComboBox1->CountLockedColumns = 1;
ComboBox1->BackColorLock = RGB(240,240,240);
ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"Locked")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 1")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 2")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 3")->Width = 128;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("locked"))),TVariant(1),TVariant("unlocked"));

87
How do I change the control's background / foreground color on the locked area

ComboBox1->CountLockedColumns = 1;
ComboBox1->ForeColorLock = RGB(240,240,240);
ComboBox1->BackColorLock = RGB(128,128,128);
ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"Locked")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 1")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 2")->Width = 128;
ComboBox1->Columns->Add(L"Un-Locked 3")->Width = 128;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("locked"))),TVariant(1),TVariant("unlocked"));

86
How do I change the control's foreground color

ComboBox1->ForeColor = RGB(120,120,120);
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("item"));

85
How do I change the control's background color

ComboBox1->BackColor = RGB(200,200,200);

84
How do I use my own icons for my radio buttons

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->RadioImage[false] = 1;
ComboBox1->RadioImage[true] = 2;
ComboBox1->Columns->Add(L"Radio")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("Radio 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1);
	var_Items->AddItem(TVariant("Radio 3"));

83
How do I use my own icons for checkbox cells

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->CheckImage[Excomboboxlib_tlb::CheckStateEnum::Unchecked] = 1;
ComboBox1->CheckImage[Excomboboxlib_tlb::CheckStateEnum::Checked] = 2;
ComboBox1->Columns->Add(L"Check")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("Check 1"));
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1);

82
How do I perform my own sorting when user clicks the column's header

ComboBox1->SortOnClick = Excomboboxlib_tlb::SortOnClickEnum::exUserSort;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("Item 1"));
ComboBox1->Items->AddItem(TVariant("Item 2"));

81
How do I disable sorting a specified column when clicking its header

ComboBox1->Columns->Add(L"1");
ComboBox1->Columns->Add(L"NoSort")->AllowSort = false;

80
How do I disable sorting the columns when clicking the control's header

ComboBox1->SortOnClick = Excomboboxlib_tlb::SortOnClickEnum::exNoSort;
ComboBox1->Columns->Add(L"1");
ComboBox1->Columns->Add(L"2");

79
How do I sort descending a column, and put the sorting icon in the column's header

ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
	var_Items->AddItem(TVariant("Item 3"));
ComboBox1->Columns->get_Item(TVariant(0))->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortDescending;

78
How do I sort ascending a column, and put the sorting icon in the column's header

ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
ComboBox1->Columns->get_Item(TVariant(0))->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;

77
How do I perform my own/custom sort, using my extra strings

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortUserData;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant("A"))),TVariant(0),TVariant("C"));
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant("B"))),TVariant(0),TVariant("B"));
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant("C"))),TVariant(0),TVariant("A"));
	var_Items->SortChildren(0,TVariant(0),false);

76
How do I perform my own/custom sort, using my extra numbers

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortUserData;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(0))),TVariant(0),TVariant(2));
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),TVariant(1));
	var_Items->set_CellData(TVariant(var_Items->AddItem(TVariant(2))),TVariant(0),TVariant(0));
	var_Items->SortChildren(0,TVariant(0),false);

75
By default, the column gets sorted as strings, so how do I sort a column by time only

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortTime;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("11:00"));
	var_Items->AddItem(TVariant("10:10"));
	var_Items->AddItem(TVariant("12:12"));
	var_Items->SortChildren(0,TVariant(0),false);

74
By default, the column gets sorted as strings, so how do I sort a column by date and time

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortDateTime;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("1/1/2001 11:00"));
	var_Items->AddItem(TVariant("1/1/2001 10:10"));
	var_Items->AddItem(TVariant("1/3/2003"));
	var_Items->SortChildren(0,TVariant(0),false);

73
By default, the column gets sorted as strings, so how do I sort a column by dates

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortDate;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("1/1/2001"));
	var_Items->AddItem(TVariant("1/2/2002"));
	var_Items->AddItem(TVariant("1/3/2003"));
	var_Items->SortChildren(0,TVariant(0),false);

72
How do I sort a column by numbers

ComboBox1->Columns->Add(L"desc")->SortType = Excomboboxlib_tlb::SortTypeEnum::SortNumeric;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant(1));
	var_Items->AddItem(TVariant(5));
	var_Items->AddItem(TVariant(10));
	var_Items->SortChildren(0,TVariant(0),false);

71
How do I hide the control's header bar

ComboBox1->HeaderVisible = false;

70
How do change the visual appearance for the control's header bar, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->HeaderBackColor = 0x1000000;

69
How do I remove the control's border

ComboBox1->Appearance = Excomboboxlib_tlb::AppearanceEnum::None2;

68
I have a hierarchy and I need to filter only root items that match, with thier childs

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->FilterInclude = Excomboboxlib_tlb::FilterIncludeEnum::exRootsWithChilds;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exFilter;
	var_Column->Filter = L"R1";
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("R1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("R2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
ComboBox1->ApplyFilter();

67
I have a hierarchy and I need to filter only root items that match, without thier childs

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->FilterInclude = Excomboboxlib_tlb::FilterIncludeEnum::exRootsWithoutChilds;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exFilter;
	var_Column->Filter = L"R1";
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("R1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("R2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
ComboBox1->ApplyFilter();

66
I have a hierarchy and I need to filter only parent items that match, including thier childs

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->FilterInclude = Excomboboxlib_tlb::FilterIncludeEnum::exItemsWithChilds;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exFilter;
	var_Column->Filter = L"R1";
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("R1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("R2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("C2"));
ComboBox1->ApplyFilter();

65
How can I get ride/hide of the "Filter For" field

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterPattern = false;

64
Is there any way to get listed only visible items in the drop down filter window

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L"";
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"P1");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterPattern = false;
	var_Column->FilterList = Excomboboxlib_tlb::FilterListEnum::exVisibleItems;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"P2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->DisplayFilterPattern = false;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("R1"));
	var_Items->set_CellCaption(TVariant(h),TVariant(1),TVariant("R2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Cell 1.1"))),TVariant(1),TVariant("Cell 1.2"));
	var_Items->set_CellCaption(TVariant(var_Items->InsertItem(h,TNoParam(),TVariant("Cell 2.1"))),TVariant(1),TVariant("Cell 2.2"));

63
How do I filter for items that match exactly the specified string

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exFilter;
	var_Column->Filter = L"Item 1";
ComboBox1->Items->AddItem(TVariant("Item 1"));
ComboBox1->Items->AddItem(TVariant("Item 2"));
ComboBox1->Items->AddItem(TVariant("Item 3"));
ComboBox1->ApplyFilter();

62
How can I can I programmatically filter for items with a specified icon assigned

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exImage;
	var_Column->Filter = L"1";
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 1"))),TVariant(0),1);
	var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 1"))),TVariant(0),1);
	var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 2"))),TVariant(0),2);
	var_Items->set_CellImage(TVariant(var_Items->AddItem(TVariant("Image 3"))),TVariant(0),3);
ComboBox1->ApplyFilter();

61
How can I can I programmatically filter the checked items

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exCheck;
	var_Column->Filter = L"0";
ComboBox1->Items->AddItem(TVariant(0));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),1);
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->ApplyFilter();

60
How can I can I filter programmatically the items based on some numerichal rules

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exNumeric;
	var_Column->Filter = L"> 0 <= 1";
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->ApplyFilter();

59
How can I can I filter programmatically the items based on a range/interval of dates

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exDate;
	var_Column->Filter = L"1/1/2001 to 1/1/2002";
ComboBox1->Items->AddItem(TVariant("1/1/2001"));
ComboBox1->Items->AddItem(TVariant("2/1/2002"));
ComboBox1->ApplyFilter();

58
How can I can I filter programmatically given a specified pattern using wild characters like * or

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exPattern;
	var_Column->Filter = L"0*";
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant("00"));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant("11"));
ComboBox1->ApplyFilter();

57
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();

56
How can I display the column's filter

ComboBox1->Columns->Add(L"")->DisplayFilterButton = true;

55
How can I show the control's grid lines only for added/visible items

ComboBox1->MarkSearchColumn = false;
ComboBox1->DrawGridLines = Excomboboxlib_tlb::GridLinesEnum::exRowLines;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));

54
Can I hide the hierarchy lines

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->HasLines = Excomboboxlib_tlb::HierarchyLineEnum::exNoLine;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

53
Can I change the style or type for the hierarchy lines

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->HasLines = Excomboboxlib_tlb::HierarchyLineEnum::exThinLine;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

52
Can I use my own icons for the +/- ( expand/collapse ) buttons

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->HasButtons = Excomboboxlib_tlb::ExpandButtonEnum::exCustom;
ComboBox1->HasButtonsCustom[false] = 1;
ComboBox1->HasButtonsCustom[true] = 2;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

51
How do I change visual appearance of the +/- ( expand/collapse ) buttons

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->HasButtons = Excomboboxlib_tlb::ExpandButtonEnum::exWPlus;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);
	h = var_Items->AddItem(TVariant("Root 2"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child"));

50
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exCheck;
	var_Column->Filter = L"0";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarIsChecked] = L"Check_On";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarIsUnchecked] = L"Check_Off";
ComboBox1->ApplyFilter();

49
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exCheck;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarChecked] = L"with check on";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarUnchecked] = L"with check off";

48
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateWeekDays] = L"Du Lu Ma Mi Jo Vi Si";
ComboBox1->ApplyFilter();

47
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateMonths] = L"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre";
ComboBox1->ApplyFilter();

46
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateTodayCaption] = L"Azi";
ComboBox1->ApplyFilter();

45
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateTo] = L"->";
ComboBox1->ApplyFilter();

44
How can I filter the items that are between an interval/range of dates

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->ApplyFilter();

43
Can I change the "Date:" caption when the column's drop down filter window is shown

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->DisplayFilterDate = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDate] = L"Range";
ComboBox1->ApplyFilter();

42
Can I filter for values using OR - NOT , instead AND operator

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column 1");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"Column 2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
Excomboboxlib_tlb::IColumnPtr var_Column2 = ComboBox1->Columns->Add(L"Column 3");
	var_Column2->DisplayFilterButton = true;
	var_Column2->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->FilterCriteria = L"%0 or not %1 and %2";
ComboBox1->ApplyFilter();

41
Can I change the NOT string in the filter bar

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column 1");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"Column 2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exNonBlanks;
ComboBox1->FilterCriteria = L"not %0 or %1";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarNot] = L" ! ";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarIsNonBlank] = L" ! IsBlank";
ComboBox1->ApplyFilter();

40
How do I ensure that the focused item is visible, after the user does the sort

ComboBox1->EnsureOnSort = true;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant("Item 3"));
	var_Items->AddItem(TVariant("Item 1"));
	var_Items->AddItem(TVariant("Item 2"));
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->Columns->get_Item(TVariant(0))->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;

39
Can I change the OR string in the filter bar

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column 1");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"Column 2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exNonBlanks;
ComboBox1->FilterCriteria = L"%0 or %1";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarOr] = L" | ";
ComboBox1->ApplyFilter();

38
Can I change the AND string in the filter bar

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column 1");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"Column 2");
	var_Column1->DisplayFilterButton = true;
	var_Column1->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exNonBlanks;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarAnd] = L" & ";
ComboBox1->ApplyFilter();

37
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
	var_Column->DisplayFilterButton = true;
	var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarIsBlank] = L"Is Empty";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarIsNonBlank] = L"Is Not Empty";
ComboBox1->ApplyFilter();

36
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

ComboBox1->Columns->Add(L"Column")->DisplayFilterButton = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarFilterTitle] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarPatternFilterTitle] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarTooltip] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarPatternTooltip] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarFilterForTooltip] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateTooltip] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarDateTitle] = L"";

35
How can I change the "Filter For" caption in the column's drop down filter window

ComboBox1->Columns->Add(L"Column")->DisplayFilterButton = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarFilterForCaption] = L"new caption";

34
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

ComboBox1->Columns->Add(L"Column")->DisplayFilterButton = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarBlanks] = L"";
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarNonBlanks] = L"";

33
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

ComboBox1->Columns->Add(L"Column")->DisplayFilterButton = true;
ComboBox1->Description[Excomboboxlib_tlb::DescriptionTypeEnum::exFilterBarAll] = L"new name for (All)";

32
How can I change the position of the column

ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2")->Position = 0;

31
Can I make strikeout the column's header

ComboBox1->Columns->Add(L"Column 1")->HeaderStrikeOut = true;

30
How can I apply an strikeout font only a portion of the column's header

ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"<s>Col</s>umn 1";

29
How can I get underlined only a portion of column's header

ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"<u>Col</u>umn 1";

28
How can I underline the column's header

ComboBox1->Columns->Add(L"Column 1")->HeaderUnderline = true;

27
How can I apply an italic font only a portion of the column's header

ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"<i>Col</i>umn 1";

26
Is there any option to make italic the column's header

ComboBox1->Columns->Add(L"Column 1")->HeaderItalic = true;

25
How can I bold only a portion of the column's header

ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"<b>Col</b>umn 1";

24
Is there any option to bold the column's header

ComboBox1->Columns->Add(L"Column 1")->HeaderBold = true;

23
Why child items are not shown

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->Columns->Add(L"Column 1");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

22
Does your control support partial-check ( three states ) feature for each column

ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"P1");
	var_Column->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
	var_Column->PartialCheck = true;
Excomboboxlib_tlb::IColumnPtr var_Column1 = ComboBox1->Columns->Add(L"P2");
	var_Column1->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
	var_Column1->PartialCheck = true;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	long h = var_Items->AddItem(TVariant("Root"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
	var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
	var_Items->set_ExpandItem(h,true);

21
Can I change the font to display the column's header

ComboBox1->HeaderHeight = 34;
ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"<font Tahoma;14>Column</font> 1";

20
Can I change the height of the header bar

ComboBox1->HeaderHeight = 32;

19
Can I display multiple icons to the column's header

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->Columns->Add(L"Column 1")->HTMLCaption = L"1<img>1</img> 2 <img>2</img>...";

18
How can I draw grid lines only for visible items

ComboBox1->MarkSearchColumn = false;
ComboBox1->DrawGridLines = Excomboboxlib_tlb::GridLinesEnum::exRowLines;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));

17
How can I show the control's grid lines

ComboBox1->MarkSearchColumn = false;
ComboBox1->DrawGridLines = Excomboboxlib_tlb::GridLinesEnum::exAllLines;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));

16
How can I assign a different background color for the entire column

ComboBox1->MarkSearchColumn = false;
ComboBox1->Columns->Add(L"Column 1")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellBackColor,TVariant(255));
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));

15
How can I assign a check box for a cell

ComboBox1->Columns->Add(L"Column 1");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->AddItem(TVariant(0));
	var_Items->set_CellHasCheckBox(TVariant(var_Items->AddItem(TVariant(1))),TVariant(0),true);
	var_Items->AddItem(TVariant(2));

14
How can I assign checkboxes for the entire column

ComboBox1->Columns->Add(L"Column 1")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));

13
How can I change the column's width

ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"Column 1")->Width = 64;
ComboBox1->Columns->Add(L"Column 2")->Width = 128;

12
How can I show or hide a column

ComboBox1->Columns->Add(L"Hidden")->Visible = false;

11
How can I hide the searching column

ComboBox1->MarkSearchColumn = false;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TNoParam());

10
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar

ComboBox1->Columns->Add(L"Unsortable")->AllowSort = false;
ComboBox1->Columns->Add(L"Sortable");

9
Is there any option to align the header to the left and the data to the right

ComboBox1->Columns->Add(L"Left")->Alignment = Excomboboxlib_tlb::AlignmentEnum::LeftAlignment;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Right");
	var_Column->Alignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
	var_Column->HeaderAlignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
	var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("left"))),TVariant(1),TVariant("right"));

8
Can I displays a custom size picture to column's header

ComboBox1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
ComboBox1->HeaderHeight = 48;
ComboBox1->Columns->Add(L"ColumnName")->HTMLCaption = L"<b>HTML</b> Column <img>pic1</img> Picture";

7
How can I insert an icon to column's header

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->Columns->Add(L"ColumnName")->HTMLCaption = L"<b>HTML</b> Column <img>1</img> Icon";

6
How can I insert an icon to column's header

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->Columns->Add(L"ColumnName")->HeaderImage = 1;

5
How can I use HTML format in column's header

ComboBox1->Columns->Add(L"ColumnName")->HTMLCaption = L"<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn";

4
How can I change/rename the column's name

ComboBox1->Columns->Add(L"ColumnName")->Caption = L"NewName";

3
How can I add multiple columns

Excomboboxlib_tlb::IColumnsPtr var_Columns = ComboBox1->Columns;
	var_Columns->Add(L"Column 1");
	var_Columns->Add(L"Column 2");

2
I've added a single column, but it is displayed only on a part of the control. Is there something I can do so the column will be fully displayed on the control

ComboBox1->Columns->Add(L"ColumnName");
ComboBox1->Items->AddItem(TVariant("Item 1"));
ComboBox1->Items->AddItem(TVariant("Item 2"));

1
How can I add a new column

ComboBox1->Columns->Add(L"ColumnName");